Silence a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Tue, 24 Jan 2012 05:41:26 +0000 (00:41 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 24 Jan 2012 05:41:26 +0000 (00:41 -0500)
gtk/gtkimage.c

index 8551149bfd406ecee50124eec0309587c76dddcb..34057c5b53d61d5d53c469385f767cf690bd9266 100644 (file)
@@ -788,7 +788,7 @@ void
 gtk_image_set_from_resource (GtkImage    *image,
                             const gchar *resource_path)
 {
-  GdkPixbuf *pixbuf;
+  GdkPixbuf *pixbuf = NULL;
   GInputStream *stream;
 
   g_return_if_fail (GTK_IS_IMAGE (image));